package org.yf.samples.service;

import java.util.List;

import org.yf.samples.model.ExamSubjectVO;

public interface ISubjectService {

	public List<ExamSubjectVO> findAllSubjects();
	
	public List<String> getAllUserSubject(Integer subId);
	
	public List<ExamSubjectVO> FindSubjectsByUserId(String userId);
	
	public ExamSubjectVO getSubjectById(Integer subId);
	
	public void editSubject(ExamSubjectVO subjectVO) throws Exception;
	
	public String editSubjectStatus(Integer subId);
	
	public void saveSubjectStudent(List<String> subjectStudents, Integer subId) throws Exception;
	
	public void saveStudentSubject(List<Integer> studentSubjects, String userId) throws Exception;
	
	public void createSubject(ExamSubjectVO subjectVO) throws Exception;
	
	public void deleteSubject(Integer subId) throws Exception;
	
	public List<Integer> getSubjectsByUserId(String userId);

	public List<Integer> getSubjectsByTest(String userId);
}
